FROM openjdk:8-jre
ENV APP_HOME=/apps
WORKDIR $APP_HOME
COPY ./ucenter_api-0.0.1-SNAPSHOT.jar ./ucenter.jar
EXPOSE 4004
ENTRYPOINT ["java","-jar"]
CMD ["ucenter.jar"]